package com.itc.dispatch.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itc.common.core.domain.R;
import com.itc.dispatch.domain.SysFlowType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itc.dispatch.domain.dto.SysFlowTypeDto;
import com.itc.dispatch.domain.dto.SysFlowTypePageDto;
import com.itc.dispatch.domain.vo.SysFlowTypeVo;

import java.util.List;

/**
* @author 智少
* @description 针对表【sys_flow_type】的数据库操作Service
* @createDate 2024-08-22 16:02:48
*/
public interface SysFlowTypeService extends IService<SysFlowType> {

    R add(SysFlowTypeDto dto);

    R delete(SysFlowTypeDto sysFlowTypeDto);

    R updateOne(SysFlowType sysFlowType);

    R<Page<SysFlowTypeVo>> getPage(Page page, SysFlowTypePageDto pageDto);

    R<List<SysFlowTypeVo>> getList(SysFlowType sysFlowType);
}
